package com.guide.dao;

import java.util.List;

import com.guide.domain.Guide;
import com.guide.domain.GuideApply;


public interface GuideApplyDao {

	/**
	 * 检查导游是否申请了某团
	 * @param guideId
	 * @param teamId
	 * @return
	 */
	public GuideApply getGuideApplyByTeamIdAndGuideId(Long guideId,Long teamId);
	
	public void insertGuideApply(GuideApply guideApply);
	
	public List<GuideApply> getApplyGuidesByTeamId(Long teamId);
	
	public GuideApply getApplyGuideByConfirm(Long teamId);
	
	public List<GuideApply> getApplyGuidesByGuideId(Long guideId);
	
	public void updateApplyGuide(GuideApply guideApply);
}
